//
//  BriefcaseClassCell.m
//  MIS Cloud
//
//  Created by goldeney on 14-3-10.
//  Copyright (c) 2014年 goldeneye. All rights reserved.
//

#import "OAMyBriefcaseClassCell.h"

@implementation OAMyBriefcaseClassCell
@synthesize titleLable = _titleLable;
@synthesize iconImage = _iconImage;
@synthesize badgeButton = _badgeButton;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Load the top-level objects from the custom cell XIB.
        NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"OAMyBriefcaseClassCell" owner:self options:nil];
        // Grab a pointer to the first object (presumably the custom cell, as that's all the XIB should contain).
        self = [topLevelObjects objectAtIndex:0];
//        view.userInteractionEnabled = NO;
//        [self.contentView addSubview:view];
        
    }
    return self;
}

- (void)awakeFromNib
{
    [_badgeButton.layer setCornerRadius:10.0];
    [_badgeButton.layer setMasksToBounds:YES];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
